home *** CD-ROM | disk | FTP | other *** search
/ Aminet 2 / Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso / Aminet / dev / misc / egs.lha / EGS / EGS_Devels / doc / gbtextinfo.doc < prev   
Text File  |  1993-02-16  |  2KB  |  78 lines

  1. /*
  2. *  $
  3. *  $ FILE     : gbtextinfo.doc
  4. *  $ VERSION  : 1
  5. *  $ REVISION : 1
  6. *  $ DATE     : 08-Feb-93 10:08
  7. *  $
  8. *  $ Author   : mvk
  9. *  $
  10. *
  11. *
  12. * (c) Copyright 1990/93 VIONA Development
  13. *     All Rights Reserved
  14. *
  15. */
  16.  
  17. gbtextinfo.library/EGB_CreateTextInfoGadget
  18. gbtextinfo.library/EGB_ModifyTextInfoGadget
  19.  
  20. gbtextinfo.library/EGB_CreateTextInfoGadget
  21. NAME
  22.   EGB_CreateTextInfoGadget
  23.  
  24. SYNOPSIS
  25.   box = EGB_CreateTextInfoGadget(con, minW, maxW, minH, maxH, font, id);
  26.   D0                             A0   D0    D1    D2    D3    A1    D4
  27.  
  28.   EB_GadBoxPtr      box;
  29.   WORD              minW, maxW, minH, maxH;
  30.   EG_EFontPtr       font;
  31.   LONG              id;
  32.  
  33. FUNCTION
  34.   Creates a gadbox textinfo gadget. These gadgets don't expect user input.
  35.   They display text to the user. The user can scroll through the text using
  36.   a proportional gadget. These gadgets have an automatic word wrap, so no
  37.   care for the gadgets widhth has to be taken.
  38.  
  39. INPUTS
  40.   con    : The associated gadget context
  41.   minW   : The minimum number of collumns requiered
  42.   maxW   : The maximum number of collumns allowed
  43.   minH   : The minimum number of lines requiered
  44.   maxH   : The maximum number of lines allowed
  45.   font   : The font to be used; if NULL, the default font is used
  46.   id     : The gadgets id (only used to find it);
  47.  
  48. RESULT
  49.  
  50.  
  51.  
  52.  
  53. gbtextinfo.library/EGB_ModifyTextInfoGadget
  54. NAME
  55.   EGB_ModifyTextInfoGadget
  56.  
  57. SYNOPSIS
  58.   EGB_ModifyTextInfoGadget(win, gad, text);
  59.                A0   A1   A2
  60.  
  61.   EI_WindowPtr    win;
  62.   EI_GadgetPtr    gad;
  63.   char            *text;
  64.  
  65. FUNCTION
  66.   Set, clear of change the text of a text info gadget. The text is an array
  67.   of chars. Paragraphs are separated by LF. The text must be terminated by a
  68.   null character.
  69.  
  70. INPUTS
  71.   win     : The window, that contains the gadget; if NULL, no refresh is done
  72.   gad     : The text info gadget
  73.   text    : The text to be displayed. Must be kept, until it is remove again.
  74.         NULL clears the text.
  75.  
  76. RESULT
  77.  
  78.